package com.westos.userauth.domain;

import java.util.Date;

public class PartyType {

    private String partyTypeId;//组织类型id
    private String parentTypeId;//父母类型id
    private String hasTable;//散列表
    private String description;//描述
    private Date lastUpdatedStamp;//最后更新时间
    private Date createdStamp;//创建的时间
    public PartyType() {
    }
    public PartyType(String partyTypeId, String parentTypeId, String hasTable, String description, Date lastUpdatedStamp, Date lastUpdatedTxStamp, Date createdStamp, Date createdTxStamp) {
        this.partyTypeId = partyTypeId;
        this.parentTypeId = parentTypeId;
        this.hasTable = hasTable;
        this.description = description;
        this.lastUpdatedStamp = lastUpdatedStamp;

        this.createdStamp = createdStamp;

    }
    public String getPartyTypeId() {
        return partyTypeId;
    }
    public String getParentTypeId() {
        return parentTypeId;
    }
    public String getHasTable() {
        return hasTable;
    }
    public String getDescription() {
        return description;
    }
    public Date getLastUpdatedStamp() {
        return lastUpdatedStamp;
    }



    public Date getCreatedStamp() {
        return createdStamp;
    }



    public void setPartyTypeId(String partyTypeId) {
        this.partyTypeId = partyTypeId;
    }

    public void setParentTypeId(String parentTypeId) {
        this.parentTypeId = parentTypeId;
    }

    public void setHasTable(String hasTable) {
        this.hasTable = hasTable;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setLastUpdatedStamp(Date lastUpdatedStamp) {
        this.lastUpdatedStamp = lastUpdatedStamp;
    }



    public void setCreatedStamp(Date createdStamp) {
        this.createdStamp = createdStamp;
    }

    @Override
    public String toString() {
        return "PartyType{" +
                "partyTypeId='" + partyTypeId + '\'' +
                ", parentTypeId='" + parentTypeId + '\'' +
                ", hasTable='" + hasTable + '\'' +
                ", description='" + description + '\'' +
                ", lastUpdatedStamp=" + lastUpdatedStamp +
                ", createdStamp=" + createdStamp +
                '}';
    }
}